/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2022. All rights reserved.
 * Description: tile sprc header file
 * Create: 2022/5/12
 */

#ifndef TILE_SPEC_H
#define TILE_SPEC_H

/* HI1823_XX is used by the driver layer, and XXX_XX is used by the logic layer.
  For the logical module, use XXX_XX. */
#define HI1823_TILE_NUM 8
#define HI1823_STATELESS_TILE_NUM 4
#define HI1823_STATEFUL_TILE_NUM 4
#define HI1823_CORE_NUM_PER_TILE 24
#define HI1823_CORE_NUM_PER_STATELESS_TILE 24
#define HI1823_CORE_NUM_PER_STATEFUL_TILE 16
#define HI1823_CORE_NUM_PER_QCD 4
#define HI1823_THREAD_NUM_PER_CORE 4
#define HI1823_TOTAL_THREAD_NUM                                                                    \
    (HI1823_STATELESS_TILE_NUM * HI1823_CORE_NUM_PER_STATELESS_TILE * HI1823_THREAD_NUM_PER_CORE + \
        HI1823_STATEFUL_TILE_NUM * HI1823_CORE_NUM_PER_STATEFUL_TILE * HI1823_THREAD_NUM_PER_CORE)

/* used for send threads init information to mpu. */
#define MPU_BIN_CSR_ADDR 0x01804870


#endif /* TILE_SPEC_H */
